package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * Elderlyinfo对象 elderlyinfo
 * 
 * @author 王皎宇
 * @date 2025-01-10
 */
public class Elderlyinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 老人id */
    private Long elderlyId;

    /** 老人姓名 */
    @Excel(name = "老人姓名")
    private String name;

    /** 老人照片 */
    @Excel(name = "老人照片")
    private String personalPhoto;

    /** 老人年龄 */
    @Excel(name = "老人年龄")
    private Long age;

    /** 电话 */
    @Excel(name = "电话")
    private String photo;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 民族 */
    @Excel(name = "民族")
    private String nationality;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactNumber;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankAccount;

    /** 紧急联系人 */
    @Excel(name = "紧急联系人")
    private String emergencyContact;

    /** 紧急联系人电话 */
    @Excel(name = "紧急联系人电话")
    private String emergencyPhone;

    /** 婚姻状态 */
    @Excel(name = "婚姻状态")
    private String maritalStatus;

    /** 是否残疾 */
    @Excel(name = "是否残疾")
    private Integer isDisabled;

    /** 残疾程度 */
    @Excel(name = "残疾程度")
    private String disabilityLevel;

    /** 慢性病编号（如果有） */
    @Excel(name = "慢性病编号", readConverterExp = "如=果有")
    private Long dCid;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField1;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField2;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField3;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField4;

    public void setElderlyId(Long elderlyId) 
    {
        this.elderlyId = elderlyId;
    }

    public Long getElderlyId() 
    {
        return elderlyId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPersonalPhoto(String personalPhoto) 
    {
        this.personalPhoto = personalPhoto;
    }

    public String getPersonalPhoto() 
    {
        return personalPhoto;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }
    public void setNationality(String nationality) 
    {
        this.nationality = nationality;
    }

    public String getNationality() 
    {
        return nationality;
    }
    public void setContactNumber(String contactNumber) 
    {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber() 
    {
        return contactNumber;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setEmergencyContact(String emergencyContact) 
    {
        this.emergencyContact = emergencyContact;
    }

    public String getEmergencyContact() 
    {
        return emergencyContact;
    }
    public void setEmergencyPhone(String emergencyPhone) 
    {
        this.emergencyPhone = emergencyPhone;
    }

    public String getEmergencyPhone() 
    {
        return emergencyPhone;
    }
    public void setMaritalStatus(String maritalStatus) 
    {
        this.maritalStatus = maritalStatus;
    }

    public String getMaritalStatus() 
    {
        return maritalStatus;
    }
    public void setIsDisabled(Integer isDisabled) 
    {
        this.isDisabled = isDisabled;
    }

    public Integer getIsDisabled() 
    {
        return isDisabled;
    }
    public void setDisabilityLevel(String disabilityLevel) 
    {
        this.disabilityLevel = disabilityLevel;
    }

    public String getDisabilityLevel() 
    {
        return disabilityLevel;
    }
    public void setdCid(Long dCid) 
    {
        this.dCid = dCid;
    }

    public Long getdCid() 
    {
        return dCid;
    }
    public void setSpareField1(String spareField1) 
    {
        this.spareField1 = spareField1;
    }

    public String getSpareField1() 
    {
        return spareField1;
    }
    public void setSpareField2(String spareField2) 
    {
        this.spareField2 = spareField2;
    }

    public String getSpareField2() 
    {
        return spareField2;
    }
    public void setSpareField3(String spareField3) 
    {
        this.spareField3 = spareField3;
    }

    public String getSpareField3() 
    {
        return spareField3;
    }
    public void setSpareField4(String spareField4) 
    {
        this.spareField4 = spareField4;
    }

    public String getSpareField4() 
    {
        return spareField4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("elderlyId", getElderlyId())
            .append("name", getName())
            .append("personalPhoto", getPersonalPhoto())
            .append("age", getAge())
            .append("photo", getPhoto())
            .append("idNumber", getIdNumber())
            .append("gender", getGender())
            .append("nativePlace", getNativePlace())
            .append("nationality", getNationality())
            .append("contactNumber", getContactNumber())
            .append("bankAccount", getBankAccount())
            .append("emergencyContact", getEmergencyContact())
            .append("emergencyPhone", getEmergencyPhone())
            .append("maritalStatus", getMaritalStatus())
            .append("isDisabled", getIsDisabled())
            .append("disabilityLevel", getDisabilityLevel())
            .append("dCid", getdCid())
            .append("spareField1", getSpareField1())
            .append("spareField2", getSpareField2())
            .append("spareField3", getSpareField3())
            .append("spareField4", getSpareField4())
            .toString();
    }
}
